<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
    <title><?=Q::ini('appini/site/name') ?> Admin - <?php $this->_block('title'); ?><?php $this->_endblock(); ?></title>

    <link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>css/admin-style.css">
    <link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>css/pagination.css">
    <SCRIPT src="<?=$_BASE_DIR?>js/jquery/1.3/jquery.min.js" type=text/javascript></SCRIPT>
    <?php $this->_block('css'); ?><?php $this->_endblock(); ?>
    <?php $this->_block('js'); ?><?php $this->_endblock(); ?>
</head>
<body>

<div id="page">

    <div id="header">
        <div id="logo"><?=Q::ini('appini/site/name') ?> Admin <span
                class=welcome>welcome <?=MyApp::instance()->currentUser('nick_name')?> back</span></div>
        <div>
            <div id="pageTitle"><?php $this->_block('title'); ?><?php $this->_endblock(); ?></div>
            <div id="mainmenu"><?php $this->_control('menu_admintop'); ?></div>
        </div>
    </div>

    <div id="page_content" class="ml20">
        <div class="actionBar">
            <?php $this->_block('actionBar'); ?><?php $this->_endblock(); ?>
        </div>

        <div class="ml20 fl">
            <?php $this->_block('contents'); ?><?php $this->_endblock(); ?>
        </div>

        <div class="clear"></div>

        <div id="footer">
            Copyright &copy; <?=date('Y')?> by <?=Q::ini('appini/site/name') ?><br/>
            All Rights Reserved.<br/>
        </div>
    </div>
</div>

</body>
</html>